package cn.gjxblog.context.annotation.configuration;

import cn.gjxblog.common.Teacher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConfigurationConfig {

    @Bean
    public Teacher teacher(){
        return Teacher.PERSON_INSTANCE;
    }
}
